package com.newsmanagement.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @author xbr
 *
 * 资源角色关系表
 */
public class ResourceRoleEntity {

    //主键
    //RESOURCE_ROLE_ID
    private Integer resourceRoleId;

    //资源id
    //RESOURCE_ID
    private Integer resourceId;

    //角色id
    //ROLE_ID
    private Integer roleId;

    //是否删除：0:已删除，1：未删除;默认未删除
    private Integer deleteFlag;

    public Integer getResourceRoleId() {
        return resourceRoleId;
    }

    public void setResourceRoleId(Integer resourceRoleId) {
        this.resourceRoleId = resourceRoleId;
    }

    public Integer getResourceId() {
        return resourceId;
    }

    public void setResourceId(Integer resourceId) {
        this.resourceId = resourceId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }
}

